<!DOCTYPE html>
<?php
session_start();
ob_start();
error_reporting(E_ALL);
ini_set('display_errors', 1);
require_once '../class/config.php';
define('FROM_SITE', 'vova');
?>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="product" content="App Facebook Truyện cười vova">
    <meta name="author" content="TinhNQ.com">
    <meta name="description" content="Truyện cười vova full hay nhất và mới nhất. Cập nhật những truyện cười vova cực hay, cực vui và hài hước">
    <meta name="keywords" content="truyen cuoi vova, truyện cười vova">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <link rel="stylesheet" href="../css/jquery.mobile-1.4.0.min.css" />
    <script src="../js/jquery.mobile-1.4.0.min.js"></script>
    <link rel="stylesheet" href="../css/metro-bootstrap.css">
    <script src="js/process.js"></script>
    <title>Truyện cười Vova</title>
    <script>
        loadPage('<?php echo FROM_SITE;?>', 0, '<?php echo BASE_URL_USER;?>');
    </script>
</head>
<body class="metro" data-role="page" style="text-shadow:none!important;">
    <div data-role="header" class="text-center bg-amber">
        <div class="row ">
            <div class="bg-white">
                <div class="padding10 bg-amber ">
                    <h2 class="fg-white"><span class="icon-book"></span> Truyện cười Vova</h2>
                </div>
            </div>
        </div>
    </div>
    <div role="main" class="ui-content" id="main">
        <div>
            <div class="">
                <button class=" padding10 h2 fg-white bg-lightBlue" onclick="postedInWall('<?php echo FROM_SITE;?>', '<?php echo BASE_URL_USER;?>')">Đăng lên tường&nbsp;&nbsp;
                    <span class="icon-facebook"></span>
                </button>
            </div>
        </div>
        <div>
            <div id="siteloader"></div>
        </div>
        <div>
            <div class="">
                <button id="storyOther" onclick="loadPage('<?php echo FROM_SITE;?>', 0, '<?php echo BASE_URL_USER;?>')"
                   class="padding10 h2 fg-white bg-green">Xem ngẫu nhiên&nbsp;
                    <span class="icon-arrow-right"></span>
                </button>
            </div>
        </div>
        <div>
            <table class="table hovered">
                <thead>
                    <tr><th class="text-left ribbed-lightPink"><span class="subheader icon-yelp fg-white"></span>&nbsp;&nbsp;Truyện nổi bật</th></tr>
                </thead>
                <tbody>
                    <?php
                        include_once 'common/hotnew.php';
                        hotNews(FROM_SITE);
                    ?>
                </tbody>
            </table>
        </div>
        </div>
        <div class="row" id="notice"></div>
    </div>
    <div data-role="footer">
        <div class="fg-white bg-amber">
            <small>© Copyright TINHNQ.COM</small>
        </div>
    </div>
</body>
</html>